<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>update</title>
<s:head/>
</head>
<body>
	<c:if test="${!empty param['updated']}">Added! ${param['updated']} ||${param['work_id']}</c:if>
	<s:form action="updateWork" method="post" enctype="multipart/form-data"
		name="/adminOnly/action" >
		<s:textfield name="work_id" value="%{work.ID}" readonly="true"/>
		<br />
		
		LINK:<s:textfield name="work.LINK" value="%{work.LINK}" label="LINK" />
		<br />
		TECHNOLOGY:<s:textfield name="work.TECHNOLOGY" value="%{work.TECHNOLOGY}" label="TECHNOLOGY" />
		<br />
		NAME:<s:textfield name="work.NAME" value="%{work.NAME}" label="NAME" />
		<br />
		NAME_RU:<s:textfield name="work.NAME_RU" value="%{work.NAME_RU}" label="NAME_RU" />
		<br />
		NAME_CZ:<s:textfield name="work.NAME_CZ" value="%{work.NAME_CZ}" label="NAME_CZ" />
		<br />
		ABOUT:<s:textarea cols="20" rows="10" name="work.ABOUT" value="%{work.ABOUT}" label="ABOUT" />
		<br />
		ABOUT_RU:<s:textarea cols="20" rows="10" name="work.ABOUT_RU" value="%{work.ABOUT_RU}"
			label="ABOUT_RU" />
		<br />
		ABOUT_CZ:<s:textarea cols="20" rows="10" name="work.ABOUT_CZ" value="%{work.ABOUT_CZ}"
			label="ABOUT_CZ" />
		<br />
		<s:file label="Photo (1)" name="photos"/>
		<s:file label="Photo (2)" name="photos" />
		<s:file label="Photo (3)" name="photos" />
		<s:file label="LOGO " name="logo" />
		<s:submit/>
	</s:form>
</body>
</html>